#include <stdio.h>
#include <stdlib.h>
#include <string.h>

struct student
{
    char *name;
    int num;
    int age;
}S;

int main()
{
    struct student stu1;
    struct student stu2;

    printf("一号学生信息\n");
    printf("请输入学号: ");
    scanf("%d", &stu1.num);
    printf("请输入年龄: ");
    scanf("%d", &stu1.age);

    printf("二号学生信息\n");
    printf("请输入学号: ");
    scanf("%d", &stu2.num);
    printf("请输入年龄: ");
    scanf("%d", &stu2.age);

    printf("\n一号学生信息:\n");
    printf("学号: %d\n年龄: %d\n", stu2.num, stu2.age);
    printf("二号学生信息:\n");
    printf("学号: %d\n年龄: %d\n", stu2.num, stu2.age);
    return 0;
}
